Auto merge of #2241 - brson:rustflags, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 17 Mar 2016 00:18:53 +0000 (17:18 -0700)
committerbors <bors@rust-lang.org>
Thu, 17 Mar 2016 00:18:53 +0000 (17:18 -0700)
Apply RUSTFLAGS arguments to rustc builds

Cargo will use RUSTFLAGS for building everything that is not a build script
or plugin. It does not apply to these targets because they may be for
a different platform that 'normal' builds.

Closes #2112


Trivial merge